public class Employee extends Staff{
    public String workType;
    public int absenceDays;

    public int getPaid(){
        return (baseSalary+maritPay-100*absenceDays);
    }
    public void salary(){
        System.out.println("应得工资："+super.getPaid());
        System.out.println("实际工资："+this.getPaid());
    }

    public void attendence(){}
}
